package com.bm.domain;

public class Info {
	private String productName;
	private Integer payStatus;
	private Integer userId;
	private Integer authority;
	
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getAuthority() {
		return authority;
	}
	public void setAuthority(Integer authority) {
		this.authority = authority;
	}
	public String getProductName() {
		return "%"+productName+"%";
	}
	public void setProductName(String productName) {
		if(productName == ""){
			productName = null;
		}
		this.productName = productName;
	}
	public Integer getPayStatus() {
		return payStatus;
	}
	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}
	@Override
	public String toString() {
		return "Info [productName=" + productName + ", payStatus=" + payStatus
				+ "]";
	}
	
}
